package juhouse.biz.kc.form;

import juhouse.framework.tools.DoText;

import org.apache.struts.action.ActionForm;

public class CustForm extends ActionForm{

	/**
	 * 
	 */
	DoText myDoText = new DoText();
	private static final long serialVersionUID = 0L;
	private String custId;
	private String parentId;
	private String custName;
	private String custCode;
	private String byname;
	private String areaId;
	
	public String getAreaId() {
		return areaId;
	}
	public void setAreaId(String areaId) {
		if(areaId.equals("")) areaId = null;
		areaId = myDoText.htmlEncode(areaId);
		this.areaId = areaId;
	}
		
	
	public String getByname() {
		return byname;
	}
	public void setByname(String byname) {
		if(byname.equals("")) byname = null;
		byname = myDoText.htmlEncode(byname);
		this.byname = byname;
	}
	
	public String getCustCode() {
		return custCode;
	}
	public void setCustCode(String custCode) {
		custCode = myDoText.htmlEncode(custCode);
		this.custCode = custCode;
	}
	public String getCustId() {
		return custId;
	}
	public void setCustId(String custId) {
		this.custId = custId;
	}
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		custName = myDoText.htmlEncode(custName);
		this.custName = custName;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		if(parentId.equals("")) parentId = null;
		this.parentId = parentId;
	}

}
